package com.weng.coder.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.weng.coder.entity.Project;
import com.weng.framework.dao.mybatis.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 项目 数据库实现类
 *
 * @作者 wengzhonghui
 * @创建时间 2018-02-24 10:16:58
 */
@Mapper
@Repository
public interface ProjectMapper extends BaseMapper<Project> {

	List<Project> listByUser(@Param("name") String name, @Param("userId")String userId);

	List<Project> page(IPage<Project> page, @Param("name") String name, @Param("userId")String userId);
}
